package com.tengroup.vo;

import lombok.Data;

import java.util.List;

@Data
public class PracticeVo {
    private Long practiceId;
    private List<String> answers; // 用户答案列表

    public String getAnswer(int index) {
        if (index < 0 || index >= answers.size()) {
            return null;
        }
        return answers.get(index);
    }
}